package storage

type Device struct {
	ID         int    `json:"id"`
	IP         string `json:"ip"`
	Port       string `json:"port"`
	Protocol   string `json:"protocol"`
	LastActive string `json:"last_active"`
}

type Config struct {
	DatabaseType          string `json:"database_type"`
	SQLitePath            string `json:"sqlite_path"`
	MySQLConnectionString string `json:"mysql_connection_string"`
	WebPort               string `json:"web_port"`
	MainStationURL        string `json:"main_station_url"`
	PollingInterval       int    `json:"polling_interval"`
	MaxThreads            int    `json:"max_threads"`
	LogRetentionDays      int    `json:"log_retention_days"`
}
